Skip to content

Release v3.1.0: polls, webhooks, batch jobs, page migrations, comment translations - #17

Merged
winrid merged 1 commit into
mainfrom
release-3.1.0
Oct 28, 2026
Merged

winrid merged 1 commit into
mainfrom
release-3.1.0

Conversation

@winrid

@winrid winrid commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Release v3.1.0 of com.fastcomments:client, core and pubsub.

New endpoints

DefaultApi:

  • Polls: getPoll, putPoll, patchPoll, deletePoll (/api/v1/polls/{commentId})
  • Poll votes: getPollVotes, getPollVote, createPollVote, deletePollVote
  • Webhooks: getWebhooks, createWebhook, deleteWebhook, getWebhookSamplePayloads
  • Batch jobs: getBatchJobs, getBatchJob
  • Page migrations: migratePages, undoPageMigrations
  • Page likes and reacts: getPageLikes, getPageReacts
  • getMe (returns the authenticated caller, GetMeResponse / MeAuthType)
  • createAgentTenant

PublicApi:

  • translateComments (POST /comments/{tenantId}/translations, returns CommentTranslationsResponse)

New optional parameters

  • getAuditLogs: username, ip, crudType, resourceName, targetId, target, includeManagedTenants
  • createCommentPublic: locale
  • getCommentsPublic: questionId, questionValue
  • createV1PageReact, createV2PageReact, deleteV1PageReact, deleteV2PageReact, getV2PageReactUsers: sso
  • getV1PageLikes, getV2PageReacts: sso, includeUserInfo (responses gain users)

New model fields

  • FComment: poll, translations, detectedLanguage
  • PublicComment: myPollVotes
  • CommentData, CreateCommentParams, LiveEvent, PubSubCommentBase: poll
  • CustomConfigParameters: commentTranslation, pollCreation, pollVoting, commentsRequireApproval, autoGenerateUsername
  • QuestionConfig, CreateQuestionConfigBody, UpdateQuestionConfigBody: commentBoxCondition, commentBoxPrompt, subQuestionConditions
  • QuestionResult, CreateQuestionResultBody, UpdateQuestionResultBody: values (multi-choice answers)
  • APIAuditLog: targetId, targetLabel, ua, sIdHashed
  • CommentLogData: emailQueued, skipReason, notifySkipReason, recipientUserId
  • GetTranslationsResponse: locale
  • APITenant.hasDebranding, BillingInfo.vatId, EventLogEntry.domain, TenantPackage.flexFreeModerators
  • New enum values on CommentLogType, LiveEventType, NotificationType and ImportedSiteType

Type changes (source-incompatible)

  • getAuditLogs request builder: limit and skip change from Double to Integer, after and before change from Double to Long.
  • CommentData.questionValues and CreateCommentParams.questionValues: Map<String, GifSearchResponseImagesInnerInner> -> Map<String, RecordStringStringOrNumberOrNumberArrayValue> (values can now be a number array for multi-choice questions).
  • CreateQuestionResultBody.value is no longer required (send values instead for multi-choice questions).
  • CreateTenantBody.createdBy and UpdateTenantBody.createdBy are removed.

Verification

  • ./core/gradlew :core:test :pubsub:compileJava --init-script ci-local-client.gradle passes on JDK 17, including SSOIntegrationTest against the live API.

@winrid
winrid merged commit d0aa48f into main Oct 28, 2026
1 check passed
@winrid
winrid deleted the release-3.1.0 branch October 28, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant